package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 盘点计划货物信息对象 wms_inventory_plan_detail
 *
 * @author ruoyi
 * @date 2024-01-21
 */
public class WmsInventoryPlanDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String inventoryNo;

    /** 货物id */
    @Excel(name = "货物id")
    private Long cargoId;

    /** 编码 */
    @Excel(name = "编码")
    private String cargoSn;

    /** 名称 */
    @Excel(name = "名称")
    private String cargoName;

    /** 单位 */
    @Excel(name = "单位")
    private String cargoUnit;

    /** 账面数量 */
    @Excel(name = "账面数量")
    private Long plannedNum;

    /** 库区id */
    @Excel(name = "库区id")
    private Long storeRegionId;

    /** 库位id */
    @Excel(name = "库位id")
    private Long storeRegionLocationId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setInventoryNo(String inventoryNo)
    {
        this.inventoryNo = inventoryNo;
    }

    public String getInventoryNo()
    {
        return inventoryNo;
    }
    public void setCargoId(Long cargoId)
    {
        this.cargoId = cargoId;
    }

    public Long getCargoId()
    {
        return cargoId;
    }
    public void setCargoSn(String cargoSn)
    {
        this.cargoSn = cargoSn;
    }

    public String getCargoSn()
    {
        return cargoSn;
    }
    public void setCargoName(String cargoName)
    {
        this.cargoName = cargoName;
    }

    public String getCargoName()
    {
        return cargoName;
    }
    public void setCargoUnit(String cargoUnit)
    {
        this.cargoUnit = cargoUnit;
    }

    public String getCargoUnit()
    {
        return cargoUnit;
    }
    public void setPlannedNum(Long plannedNum)
    {
        this.plannedNum = plannedNum;
    }

    public Long getPlannedNum()
    {
        return plannedNum;
    }
    public void setStoreRegionId(Long storeRegionId)
    {
        this.storeRegionId = storeRegionId;
    }

    public Long getStoreRegionId()
    {
        return storeRegionId;
    }
    public void setStoreRegionLocationId(Long storeRegionLocationId)
    {
        this.storeRegionLocationId = storeRegionLocationId;
    }

    public Long getStoreRegionLocationId()
    {
        return storeRegionLocationId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("inventoryNo", getInventoryNo())
            .append("cargoId", getCargoId())
            .append("cargoSn", getCargoSn())
            .append("cargoName", getCargoName())
            .append("cargoUnit", getCargoUnit())
            .append("plannedNum", getPlannedNum())
            .append("storeRegionId", getStoreRegionId())
            .append("storeRegionLocationId", getStoreRegionLocationId())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
